package com.expense.entity;

import java.io.Serializable;
import java.util.Date;

import com.expense.annotation.Column;
import com.expense.annotation.Table;

/**
 * 用户配置信息
 * **/
@Table(tableName="T_AAP_USERPROFILE")
public class UserProfileInfo implements Serializable {
	@Column(columnName="UPID",isPrimaryKey=true)
	private Integer upid;//主键ID
	
	@Column(columnName="UID")
	private Integer uid;//用户ID
	
	@Column(columnName="INTEGRAL")
	private Integer integral;//积分
	
	@Column(columnName="EMAIL")
	private String email;//邮箱
	
	@Column(columnName="MOBILE")
	private String mobile;//手机
	
	@Column(columnName="ISRECEIVECOSTEMAIL")
	private Boolean isReceiveCostEmail;//是否接收费用通知邮件提醒
	
	@Column(columnName="ISRECEIVEBALANCEREMINDEMAIL")
	private Boolean isReceiveBalanceRemindEmail;//是否接收结算提醒邮件
	
	@Column(columnName="ISRECEIVEBALANCEAPPROVEEMAIL")
	private Boolean isReceiveBalanceApproveEmail;//是否接收费用通知邮件提醒
	
	@Column(columnName="QQ")
	private String qq;//QQ
	
	@Column(columnName="OPENID")
	private String openId;//OpenId
	
	@Column(columnName="LASTLOGINTIME",dateTimeType=1)
	private Date lastLoginTime;//最后登陆时间

	@Column(columnName="LASTLOGINIP")
	private String lastLoginIp;//最后登陆Ip
	
	/**
	 * @return the upid
	 */
	public Integer getUpid() {
		return upid;
	}

	/**
	 * @param upid the upid to set
	 */
	public void setUpid(Integer upid) {
		this.upid = upid;
	}

	/**
	 * @return the uid
	 */
	public Integer getUid() {
		return uid;
	}

	/**
	 * @param uid the uid to set
	 */
	public void setUid(Integer uid) {
		this.uid = uid;
	}

	/**
	 * @return the integral
	 */
	public Integer getIntegral() {
		return integral;
	}

	/**
	 * @param integral the integral to set
	 */
	public void setIntegral(Integer integral) {
		this.integral = integral;
	}

	/**
	 * @return the email
	 */
	public String getEmail() {
		return email;
	}

	/**
	 * @param email the email to set
	 */
	public void setEmail(String email) {
		this.email = email;
	}

	/**
	 * @return the mobile
	 */
	public String getMobile() {
		return mobile;
	}

	/**
	 * @param mobile the mobile to set
	 */
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	/**
	 * @return the isReceiveCostEmail
	 */
	public Boolean getIsReceiveCostEmail() {
		return isReceiveCostEmail;
	}

	/**
	 * @param isReceiveCostEmail the isReceiveCostEmail to set
	 */
	public void setIsReceiveCostEmail(Boolean isReceiveCostEmail) {
		this.isReceiveCostEmail = isReceiveCostEmail;
	}

	/**
	 * @return the isReceiveBalanceRemindEmail
	 */
	public Boolean getIsReceiveBalanceRemindEmail() {
		return isReceiveBalanceRemindEmail;
	}

	/**
	 * @param isReceiveBalanceRemindEmail the isReceiveBalanceRemindEmail to set
	 */
	public void setIsReceiveBalanceRemindEmail(Boolean isReceiveBalanceRemindEmail) {
		this.isReceiveBalanceRemindEmail = isReceiveBalanceRemindEmail;
	}

	/**
	 * @return the isReceiveBalanceApproveEmail
	 */
	public Boolean getIsReceiveBalanceApproveEmail() {
		return isReceiveBalanceApproveEmail;
	}

	/**
	 * @param isReceiveBalanceApproveEmail the isReceiveBalanceApproveEmail to set
	 */
	public void setIsReceiveBalanceApproveEmail(Boolean isReceiveBalanceApproveEmail) {
		this.isReceiveBalanceApproveEmail = isReceiveBalanceApproveEmail;
	}

	/**
	 * @return the qq
	 */
	public String getQq() {
		return qq;
	}

	/**
	 * @param qq the qq to set
	 */
	public void setQq(String qq) {
		this.qq = qq;
	}

	/**
	 * @return the openId
	 */
	public String getOpenId() {
		return openId;
	}

	/**
	 * @param openId the openId to set
	 */
	public void setOpenId(String openId) {
		this.openId = openId;
	}

	/**
	 * @return the lastLoginTime
	 */
	public Date getLastLoginTime() {
		return lastLoginTime;
	}

	/**
	 * @param lastLoginTime the lastLoginTime to set
	 */
	public void setLastLoginTime(Date lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}

	/**
	 * @return the lastLoginIp
	 */
	public String getLastLoginIp() {
		return lastLoginIp;
	}

	/**
	 * @param lastLoginIp the lastLoginIp to set
	 */
	public void setLastLoginIp(String lastLoginIp) {
		this.lastLoginIp = lastLoginIp;
	}
	
	
	
	
}
